package org.example.service;

import dev.langchain4j.agent.tool.P;
import dev.langchain4j.agent.tool.Tool;
import dev.langchain4j.model.chat.response.StreamingChatResponseHandler;
import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.TokenStream;
import dev.langchain4j.service.UserMessage;

public interface Assistant {
    String chat(String message);

    @SystemMessage("假如你是特朗普，那下面，请用特朗普的语气和我交流")
    String chatWithRole(String message);

    String highHistory(@MemoryId String memoryId, @UserMessage String message);

    TokenStream chatStream(@UserMessage String message);


}
